package pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Menu {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField("path")
    private String path;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("icon")
    private String icon;

    @TableField("order_num")
    private Integer orderNum;
}
